//===================================
//File: Placement.h
//Placement declaration
//Name: Smirnova O.P.
//Date: 28.06.12, v.1.0
//===================================
#ifndef PLC_h
#define PlC_h

#include "Collect.h"
#include "Shelf.h"
#include "Specimage.h"
#include "MList.h"
#include <iostream>
class Placement: public Collection, public Shelf 
{
private:
  unsigned int id;   
  static unsigned int count; 
  static unsigned int count_all; 
public:
  Placement(Point tl,int w,int h);     
  ~Placement();    
  void moveShelfTodXdY(const double dx, const double dy);      
  void moveShelfToPoint(const Point P);                       
  void moveImages(const double dx, const double dy);      
  void moveAll(const double dx, const double dy);       
  short isVisible(const Image I);
  short isVisibleP(Point P);
  const unsigned int getID();
  static unsigned int countObject();
};
#endif
